package inventory.entity.bo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @author sxt
 * @create 2019-11-11 20:51
 */
@Getter
@Setter
@ToString
@ApiModel(value = "")
public class EliminatelBo {


    @ApiModelProperty(hidden = true)
    @TableId(value = "sale_id", type = IdType.UUID)
    private String saleId;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "类型id（typicalId）")
    private String typicalId;
    @ApiModelProperty(value = "物料id（物料出库才填写,由于物料是根据id销库而其他两种是根据串号销库）")
    private String stuff_id;
    @ApiModelProperty(value = "对应仓库id")
    private String repositoryId;
    @ApiModelProperty(value = "如果是物料，填写这个参数，表示物料使用量")
    private Long num;
    @ApiModelProperty(value = "如果是终端和设备，填写这个参数，代表串号")
    private String serialNum;
    @ApiModelProperty(value = "请求处理状态,发送请求不用传，默认0：未处理，1：已处理",hidden = true)
    private Integer status = 0;
    @ApiParam(value = "接收此申请的上级id")
    private String roleId;
    @ApiParam(value = "销库时间")
    private Date requestTime;

//    private List<String> imei;        //根据串号销库参数
//
//    private List<StuffBo> stuffBos; //物料使用量信息更新参数
}
